package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.config.R;
import org.example.domain.Post;

import java.util.List;

@Mapper
public interface PostMapper {
    List<Post> postList(Post post);

    void save(Post post);

    void delById(Integer id);

    void updateById(Post post);

    List<Post> list();
}
